package com.wj.beans.factory;

import com.wj.beans.BeansException;

/**
 * @ClassName BeanFactory
 * @Author wangji
 * @Date 2021/7/15
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeansException;

    boolean containsBean(String name);

//    void registerBean(String beanName, Object obj);

    boolean isSingleton(String name);

    boolean isPrototype(String name);

    Class<?> getType(String name);
}
